package jse.test20160511Adapter;

import org.junit.Test;

/**
 * @desc 
 * @author kanggw
 * @datetime 2016年5月11日,下午10:09:51
 */
public class MyTest {
	
	@Test
	public void test() {
		
		Car car = new Car();
		car.setName("audi");
		car.setSpeed(60);
		System.out.println(car);
		System.out.println("++++++++++++++++++++++");
		
		GpsCar gpsCar = new GpsCar();
		gpsCar.setName("jeep");
		gpsCar.setSpeed(80);
		System.out.println(gpsCar);
	}
	
	
}
